package com.yvdedu.hospital.entity;

public class Drug {
	private int id;
	private String name;
	private String spec;
	private String unit;
	private String sc_date;
	private String yx_date;
	private String region;
	private double p_price;
	private double price;
	private int tory;
	private String ad_name;
	private String sh_name;
	private String sh_date;
	private int Stock;
	private int yao_upper;
	private int lower_upper;
	private String mf;
	private String new_yao;
	private String state;
	private int batch;
	private String jb;
	private int fpnumber;
	private String bz;
	private int Supply_unit_id;
	private int department_id;
	private String d_name;
	private String Company_name;
	private String sh;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSpec() {
		return spec;
	}
	public void setSpec(String spec) {
		this.spec = spec;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getSc_date() {
		return sc_date;
	}
	public void setSc_date(String sc_date) {
		this.sc_date = sc_date;
	}
	public String getYx_date() {
		return yx_date;
	}
	public void setYx_date(String yx_date) {
		this.yx_date = yx_date;
	}
	public String getRegion() {
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public double getP_price() {
		return p_price;
	}
	public void setP_price(double p_price) {
		this.p_price = p_price;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getTory() {
		return tory;
	}
	public void setTory(int tory) {
		this.tory = tory;
	}
	public String getAd_name() {
		return ad_name;
	}
	public void setAd_name(String ad_name) {
		this.ad_name = ad_name;
	}
	public String getSh_name() {
		return sh_name;
	}
	public void setSh_name(String sh_name) {
		this.sh_name = sh_name;
	}
	public String getSh_date() {
		return sh_date;
	}
	public void setSh_date(String sh_date) {
		this.sh_date = sh_date;
	}
	public int getStock() {
		return Stock;
	}
	public void setStock(int stock) {
		Stock = stock;
	}
	public int getYao_upper() {
		return yao_upper;
	}
	public void setYao_upper(int yao_upper) {
		this.yao_upper = yao_upper;
	}
	public int getLower_upper() {
		return lower_upper;
	}
	public void setLower_upper(int lower_upper) {
		this.lower_upper = lower_upper;
	}
	public String getMf() {
		return mf;
	}
	public void setMf(String mf) {
		this.mf = mf;
	}
	public String getNew_yao() {
		return new_yao;
	}
	public void setNew_yao(String new_yao) {
		this.new_yao = new_yao;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public int getBatch() {
		return batch;
	}
	public void setBatch(int batch) {
		this.batch = batch;
	}
	public String getJb() {
		return jb;
	}
	public void setJb(String jb) {
		this.jb = jb;
	}
	public int getFpnumber() {
		return fpnumber;
	}
	public void setFpnumber(int fpnumber) {
		this.fpnumber = fpnumber;
	}
	public String getBz() {
		return bz;
	}
	public void setBz(String bz) {
		this.bz = bz;
	}
	public int getSupply_unit_id() {
		return Supply_unit_id;
	}
	public void setSupply_unit_id(int supply_unit_id) {
		Supply_unit_id = supply_unit_id;
	}
	public int getDepartment_id() {
		return department_id;
	}
	public void setDepartment_id(int department_id) {
		this.department_id = department_id;
	}
	public String getD_name() {
		return d_name;
	}
	public void setD_name(String d_name) {
		this.d_name = d_name;
	}
	public String getCompany_name() {
		return Company_name;
	}
	public void setCompany_name(String company_name) {
		Company_name = company_name;
	}
	public String getSh() {
		return sh;
	}
	public void setSh(String sh) {
		this.sh = sh;
	}
	public Drug(int id, String name, String spec, String unit, String sc_date, String yx_date, String region,
			double p_price, double price, int tory, String ad_name, String sh_name, String sh_date, int stock,
			int yao_upper, int lower_upper, String mf, String new_yao, String state, int batch, String jb, int fpnumber,
			String bz, int supply_unit_id, int department_id, String d_name, String company_name, String sh) {
		super();
		this.id = id;
		this.name = name;
		this.spec = spec;
		this.unit = unit;
		this.sc_date = sc_date;
		this.yx_date = yx_date;
		this.region = region;
		this.p_price = p_price;
		this.price = price;
		this.tory = tory;
		this.ad_name = ad_name;
		this.sh_name = sh_name;
		this.sh_date = sh_date;
		Stock = stock;
		this.yao_upper = yao_upper;
		this.lower_upper = lower_upper;
		this.mf = mf;
		this.new_yao = new_yao;
		this.state = state;
		this.batch = batch;
		this.jb = jb;
		this.fpnumber = fpnumber;
		this.bz = bz;
		Supply_unit_id = supply_unit_id;
		this.department_id = department_id;
		this.d_name = d_name;
		Company_name = company_name;
		this.sh = sh;
	}
	public Drug() {
		super();
	}
	@Override
	public String toString() {
		return "Drug [id=" + id + ", name=" + name + ", spec=" + spec + ", unit=" + unit + ", sc_date=" + sc_date
				+ ", yx_date=" + yx_date + ", region=" + region + ", p_price=" + p_price + ", price=" + price
				+ ", tory=" + tory + ", ad_name=" + ad_name + ", sh_name=" + sh_name + ", sh_date=" + sh_date
				+ ", Stock=" + Stock + ", yao_upper=" + yao_upper + ", lower_upper=" + lower_upper + ", mf=" + mf
				+ ", new_yao=" + new_yao + ", state=" + state + ", batch=" + batch + ", jb=" + jb + ", fpnumber="
				+ fpnumber + ", bz=" + bz + ", Supply_unit_id=" + Supply_unit_id + ", department_id=" + department_id
				+ ", d_name=" + d_name + ", Company_name=" + Company_name + ", sh=" + sh + "]";
	}
	
	
	
}
